package com.wyz.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author wk
 * @desc
 * @date 2024/12/22 17:33
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_student")
public class StudentEntity {
    @TableId(type = IdType.AUTO)
    private Integer studentId;
    @TableField("student_name")
    private String studentName;
    @TableField("student_sex")
    private String studentSex;
    @TableField("student_age")
    private String studentAge;
    @TableField("student_date")
    private String studentDate;
    @TableField("student_class")
    private String studentClass;
    @TableField("student_phone")
    private String studentPhone;
    @TableField("user_id")
    private Integer userId;
}
